package com.glasses.entity;


import com.glasses.orm.base.BaseBean;
import com.glasses.orm.dictionary.IsDefault;

/**
 * Created by ashin on 2018/8/21.
 */
public class Address extends BaseBean {

    /**
     * 用户id
     */
    private String openId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 地址
     */
    private String address;

    /**
     * 地址详情
     */
    private String addressInfo;

    /**
     * 是否默认地址
     */
    private String isDefault;

    /**
     * 是否默认地址 - 中文
     */
    private String isDefaultVal;

    public String getAddressInfo() {
        return addressInfo;
    }

    public void setAddressInfo(String addressInfo) {
        this.addressInfo = addressInfo;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getIsDefaultVal() {
        return getEnumKey(IsDefault.class,isDefault);
    }

    public void setIsDefaultVal(String isDefaultVal) {
        this.isDefaultVal = isDefaultVal;
    }
}
